#pragma once
#include "primitive.h"
#include "Vertex.h"

class CLine : public CPrimitive
{
public:
	CLine(void);
	virtual ~CLine(void);

	virtual void Transform(const CMatrix4& matTransform);
	virtual void Rasterize(CRenderer* pRenderer);

	virtual CVertex& GetVertex(int idx) { return m_vertex[idx]; }

private:
	CVertex m_vertex[2];
};

